﻿#include "hnstream.h"
// 获取文件总大小
long getFileSize(std::ifstream& file)
{
    file.seekg(0, std::ios::end);
    std::streampos size = file.tellg();
    file.seekg(0, std::ios::beg);
    return (long)size;
}


